//
//  SNSMarkLabelView.h
//  iBaby365v2
//
//  Created by Kirinrin on 14-8-1.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SNSPostModel.h"
#import "SNSPhotoEditViewController.h"

@class SNSMarkLabelView;

@protocol SNSMarkLabelViewDelegate <NSObject>
-(void)didTouchedLabel:(SNSMarkLabelView *)labelView;
@end

@interface SNSMarkLabelView : UIView

-(instancetype)initWithText:(NSString *)text pos:(CGPoint)pos direction:(SNSMarkDirection)direction;
-(instancetype)initWithDataModel:(SNSMarkModel *)data;

-(void)setLabelText:(NSString *)text;

@property (assign, nonatomic) BOOL enable;
@property (assign, nonatomic)SNSMarkDirection markDirection;
@property (assign, nonatomic)NSString *contentText;
@property (assign, nonatomic)CGPoint pos;
@property (strong, nonatomic) IBOutlet UILabel *label;

- (void)flipMark;
-(void)setPointerPoint:(CGPoint)point;

-(void)updateData;

- (NSDictionary *)toDictionary;
@property (strong, nonatomic)SNSMarkModel *data;

@property (strong, nonatomic)id<SNSMarkLabelViewDelegate>delegate;
@end


